﻿namespace WizardEngine.Core
{
    /// <summary>
    /// Represents visited step. 
    /// </summary>
    internal class VisitedStep 
    {
        public VisitedStep(Step step, FlowState state)
        {
            this.Step = step;
            this.FlowState = state;
        }

        public Step Step
        {
            get; private set;
        }

        /// <summary>
        /// Flow state memento for remebering step history. 
        /// </summary>
        public FlowState FlowState
        {
            get; private set;
        }
    }
}
